//
//  NSDictionary+Extend.h
//  XLDoctor
//
//  Created by longma on 2018/12/27.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSAttributedString (MJUI)

/// 行空隙 富文本
/// @param str 文本
/// @param lineSpacing 行空隙
/// @param font 字体
+ (NSMutableAttributedString *)mj_paragraphStyleWithString:(NSString *)str lineSpacing:(CGFloat)lineSpacing font:(UIFont *)font;

/// 计算富文本size
/// @param size 宽高
- (CGSize )mj_boundingRectWithSize:(CGSize )size;

@end

NS_ASSUME_NONNULL_END
